package com.exam.service.privilege.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.exam.bean.privilege.SystemPrivilege;
import com.exam.service.base.DaoSupport;
import com.exam.service.privilege.SystemPrivilegeService;

@Service
@Transactional
public class SystemPrivilegeServiceBean extends DaoSupport implements SystemPrivilegeService {
	
	public void saves(List<SystemPrivilege> privileges){
		
		for(SystemPrivilege p : privileges){
			super.save(p);
		}
	}
}
